﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("DBO.t_PickingStationData")]
    public partial class t_PickingStationData
    {
        public t_PickingStationData()
        {


        }
        /// <summary>
        /// Desc:拣选站台数据Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:出库单Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RelatedOrderId { get; set; }

        /// <summary>
        /// Desc:出库单明细Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int RelatedOrderDetailId { get; set; }

        /// <summary>
        /// Desc:拣选出库任务Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? PickingOutTaskId { get; set; }

        /// <summary>
        /// Desc:拣选出库指令Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? PickingOutInstructId { get; set; }

        /// <summary>
        /// Desc:拣选入库任务Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? PickingInTaskId { get; set; }

        /// <summary>
        /// Desc:拣选入库指令Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? PickingInInstructId { get; set; }

        /// <summary>
        /// Desc:出库单号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? OrderSN { get; set; }

        /// <summary>
        /// Desc:批次号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? BatchNO { get; set; }

        /// <summary>
        /// Desc:起始地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? FromLocationCode { get; set; }

        /// <summary>
        /// Desc:起始地址名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? FromLocationName { get; set; }

        /// <summary>
        /// Desc:目的站台Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ToStationId { get; set; }

        /// <summary>
        /// Desc:目的站台地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ToStationCode { get; set; }

        /// <summary>
        /// Desc:目的站台名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ToStationName { get; set; }

        /// <summary>
        /// Desc:垛条码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? PalletBarcode { get; set; }

        /// <summary>
        /// Desc:物料Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? MaterialId { get; set; }

        /// <summary>
        /// Desc:物料编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialCode { get; set; }

        /// <summary>
        /// Desc:物料名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialName { get; set; }

        /// <summary>
        /// Desc:货主Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? OwnerId { get; set; }

        /// <summary>
        /// Desc:货主
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? OwnerName { get; set; }

        /// <summary>
        /// Desc:供应商Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? SupplierId { get; set; }

        /// <summary>
        /// Desc:供应商
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? SupplierName { get; set; }

        /// <summary>
        /// Desc:当前库存总数
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? TotalQTY { get; set; }

        /// <summary>
        /// Desc:拣选数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? PickingQTY { get; set; }

        /// <summary>
        /// Desc:状态：1-最新数据；0-过期数据
        /// Default:1
        /// Nullable:True
        /// </summary>           
        public int? Status { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:是否已通知PDA
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public bool HasNotice { get; set; }

        /// <summary>
        /// Desc:通知时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? NoticeDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? InventoryId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public bool? IsMultPallet { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? RefInvIds { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? WarehouseId { get; set; }

    }
}
